package com.example.mybatis.domain;

public class User {
    public int id;
    private String name;
    private int age;
    public String sex;
    public String createTime;

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString(){
        return "User{"+
                "id="+id+
                ", name '" + name + '\''+
                ", age="+ age+
                ", sex="+ sex+
                ",createTime='" + createTime +'\''+
                '}';
    }
}